package com.akk.module.user.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value = "银行卡")
public class AddUserCardRequest {

    @ApiModelProperty(value = "银行ID",required = true)
    @NotNull
    private String bankId;
    @ApiModelProperty(value = "银行卡号",required = true)
    @NotNull
    private String cardNum;
    @ApiModelProperty(value = "银行名称",required = true)
    @NotNull
    private String bankName;
    @ApiModelProperty(value = "卡类型",required = true)
    @NotNull
    private String cardType;
    @ApiModelProperty(value = "预留手机号",required = true)
    @NotNull
    private String bindPhone;
    @ApiModelProperty(value = "CVV2",required = false)
    @NotNull
    private String cvv2;
    @ApiModelProperty(value = "year",required = false)
    @NotNull
    private String year;
    @ApiModelProperty(value = "month",required = false)
    @NotNull
    private String month;
    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getBindPhone() {
        return bindPhone;
    }

    public void setBindPhone(String bindPhone) {
        this.bindPhone = bindPhone;
    }

    public String getCvv2() {
        return cvv2;
    }

    public void setCvv2(String cvv2) {
        this.cvv2 = cvv2;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }
}
